package com.ssm.entity;

import java.io.Serializable;
import java.util.Date;

import com.mybatis.entity.PField;
import com.mybatis.entity.PTable;


@PTable("user")
public class UserEntity implements Serializable {

    @PField(isIgnore=true)
	private static final long serialVersionUID = 1L;
	
	//唯一ID
	@PField(value="id")
	private String id;
	//姓名
	@PField(value="userName")
	private String username;
	//密码
	@PField(value="passWord")
	private String password;

	/**
	 * 设置：唯一ID
	 */
	public void setId(String id) {
		this.id = id;
	}
	/**
	 * 获取：唯一ID
	 */
	public String getId() {
		return id;
	}
	/**
	 * 设置：姓名
	 */
	public void setUsername(String username) {
		this.username = username;
	}
	/**
	 * 获取：姓名
	 */
	public String getUsername() {
		return username;
	}
	/**
	 * 设置：密码
	 */
	public void setPassword(String password) {
		this.password = password;
	}
	/**
	 * 获取：密码
	 */
	public String getPassword() {
		return password;
	}
}
